import numpy as np
import tensorflow as tf  # 导入 TF 库
from tensorflow_core.python import layers

a = [1, 2, 3]
print(np.var(a))
print(np.std(a, ddof=1))
